package com.itheima.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@NoArgsConstructor
@Data
public class MealDishesDto {
    private String MealId;
    /**
     * copies
     */
    private int copies;
    /**
     * dishId
     */
    private String dishId;
    /**
     * 菜品名
     */
    private String name;
    /**
     * 价格
     */
    private int price;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private String createUser;


    @TableField(value = "update_user", fill = FieldFill.INSERT_UPDATE)
    private String updateUser;
}
